package ShiYan;

import java.util.Scanner;
public class Example1 {
    public static void main(String args[]){
        String c;
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入c的值：");
        c = sc.next();
        for(int i=1;i<=4;i++){
            switch(i){
                case 1: c="b";  System.out.print(c);
                case 2: c="e";  System.out.print(c);  break;
                case 3: c="p";  System.out.print(c);
                default: System.out.print("!");
            }
        }
    }
}

